package com.travel.config.pool;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author: libin
 * Date: 2025/6/20 8:23
 * Description:
 **/
@Data
@ConfigurationProperties(prefix = "threadpool")
public class ThreadPoolProperties {


    // 定义核心线程数
    private Long corePoolSize=5L;
    // 定义最大线程数
    private Long maxPoolSize=10L;
    // 定义存活时间
    private Long timeOut=30L;
    // 定义阻塞队列大小
    private Long queueSize=50L;
}
